Warning: mkdir(): No space left on device in /var/www/tg-me/post.php on line 37

Warning: file_put_contents(aCache/aDaily/post/cppproglib/--): Failed to open stream: No such file or directory in /var/www/tg-me/post.php on line 50
Библиотека C/C++ разработчика | cpp, boost, qt | Telegram Webview: cppproglib/5745 -
Telegram Group & Telegram Channel
⚡️ GDB: отладка без перекомпиляции

Сколько раз ты менял код, добавляя printf для отладки, а потом забывал их удалить перед коммитом?

Решение: Условные breakpoint'ы в GDB

$ gdb ./your_program
(gdb) break main.cpp:42 if user_id == 123
(gdb) run


GDB остановится только когда user_id равен 123!

Ещё круче:

- (gdb) commands 1 - добавить команды к breakpoint'у
- (gdb) watch variable_name - остановка при изменении переменной

Бонус: set print pretty on сделает вывод структур читаемым 🎯

Попробуй прямо сейчас и напиши, сколько printf удалил из кода😄

Библиотека C/C++ разработчика #буст



tg-me.com/cppproglib/5745
Create:
Last Update:

⚡️ GDB: отладка без перекомпиляции

Сколько раз ты менял код, добавляя printf для отладки, а потом забывал их удалить перед коммитом?

Решение: Условные breakpoint'ы в GDB

$ gdb ./your_program
(gdb) break main.cpp:42 if user_id == 123
(gdb) run


GDB остановится только когда user_id равен 123!

Ещё круче:

- (gdb) commands 1 - добавить команды к breakpoint'у
- (gdb) watch variable_name - остановка при изменении переменной

Бонус: set print pretty on сделает вывод структур читаемым 🎯

Попробуй прямо сейчас и напиши, сколько printf удалил из кода😄

Библиотека C/C++ разработчика #буст

BY Библиотека C/C++ разработчика | cpp, boost, qt




Share with your friend now:
tg-me.com/cppproglib/5745

View MORE
Open in Telegram


Библиотека C C разработчика | cpp boost qt Telegram | DID YOU KNOW?

Date: |

That growth environment will include rising inflation and interest rates. Those upward shifts naturally accompany healthy growth periods as the demand for resources, products and services rise. Importantly, the Federal Reserve has laid out the rationale for not interfering with that natural growth transition.It's not exactly a fad, but there is a widespread willingness to pay up for a growth story. Classic fundamental analysis takes a back seat. Even negative earnings are ignored. In fact, positive earnings seem to be a limiting measure, producing the question, "Is that all you've got?" The preference is a vision of untold riches when the exciting story plays out as expected.

To pay the bills, Mr. Durov is issuing investors $1 billion to $1.5 billion of company debt, with the promise of discounted equity if the company eventually goes public, the people briefed on the plans said. He has also announced plans to start selling ads in public Telegram channels as soon as later this year, as well as offering other premium services for businesses and users.

Библиотека C C разработчика | cpp boost qt from ar


Telegram Библиотека C/C++ разработчика | cpp, boost, qt
FROM USA